<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<a th:href="@{/user/Choose(userId=${userId})}">进入</a>
<script type="text/javascript">
    //3秒钟之后跳转到指定的页面
   setTimeout('window.location.href="http://localhost:8080/user/Choose?userId="+[[${userId}]]',3);
</script>
</body>
</html>